package com.zsr.xmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zsr.common.utils.PageUtils;
import com.zsr.common.vo.product.SpuSaveVo;
import com.zsr.common.entity.product.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author zsrey
 * @email zsrey8880@163.com
 * @date 2022-06-09 23:33:50
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuSaveVo);

    void saveBaseSpuInfo(SpuInfoEntity infoEntity);

    /**
     * 条件查询分页
     * @param params
     * @return
     */
    PageUtils queryPageByCondition(Map<String, Object> params);

    void up(Long spuId);
}

